import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/pages/home/home.vue'
import my from '../views/pages/my/my.vue'
import works from '../views/pages/works/works.vue'
// 头像详情跳转
import userinfo from '../views/pages/homeChild/userinfo.vue'

//跳转求职意向
import qiuzhi from '../views/pages/homeChild/userChild/qiuzhi.vue'

//跳转教育经历
import edit from '../views/pages/homeChild/edit.vue'

//跳转证书
import zhengshu from '../views/pages/homeChild/zhengshu.vue'

//跳转截图
//树洞截图
import SD from '../views/pages/works/workesChild/SD.vue'
//飞猪截图
import FZ from '../views/pages/works/workesChild/FZ.vue'
//网站截图
import WZ from '../views/pages/works/workesChild/WZ.vue'
//H5截图
import H5 from '../views/pages/works/workesChild/H5.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/my',
    name: 'my',
    component: my
  },
  {
    path: '/works',
    name: 'works',
    component: works
  },
  {
    path: '/userinfo',
    name: 'userinfo',
    component: userinfo
  },
  {
    path: '/qiuzhi',
    name: 'qiuzhi',
    component: qiuzhi
  },
  {
    path: '/edit',
    name: 'edit',
    component: edit
  },
  {
    path: '/zhengshu',
    name: 'zhengshu',
    component: zhengshu
  },
  {
    path: '/SD',
    name: 'SD',
    component: SD
  },
  {
    path: '/FZ',
    name: 'FZ',
    component: FZ
  },
  {
    path: '/WZ',
    name: 'WZ',
    component: WZ
  },
  {
    path: '/H5',
    name: 'H5',
    component: H5
  }
]

const router = new VueRouter({
  routes
})

export default router
